docs: add useContent headings guide#8073
Conversation
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
Looks like duplicate #7303 |
gioboa
left a comment
There was a problem hiding this comment.
I think we need to change the position of this file.
.../docs/use-content-headings.mdx
all the other pages are inside a specific folder.
|
@gioboa Thanks for your review and yes had updates the position of the file. |
|
Hey @iitzIrFan thanks for the PR. Giorgio and I think it would make more sense to have it in /docs/guides/mdx/. Can you do that change please? |
|
Sure @maiieul, updated the pr! |
…c navigation with MDX headings
|
Thanks @irfanullahjan but I meant we already have a route https://qwik.dev/docs/guides/mdx/. Please move your changes here and remove the changes from /api. |
|
The changes should be in the |
|
@maiieul PR updated! :) |
|
@iitzIrFan thanks, but you need to put all your documentation changes in |
commit: |
gioboa
left a comment
There was a problem hiding this comment.
I moved your content in the right place.
Thanks for your help @iitzIrFan 🚀
|
Thanks for help there @gioboa 🙏 |
What is it?
Fixed: #6678
Description
API Reference Update:
A new section was added to the API reference file (index.mdx) to explain how useContent can retrieve headings from .mdx files. This included an example and practical use cases.
New Practical Guide:
A new file, use-content-headings.mdx, was created in the main documentation section. This file provides a user-friendly guide on using useContent to retrieve page headings, complete with an example, notes, and use cases.
Checklist
pnpm change